package cn.itrip.service;


import cn.itrip.pojo.Page;
import cn.itrip.vo.ItripHotelDTO;
import cn.itrip.vo.seach.SearchHotelVO;

import java.util.List;

/** 
* @Description: solr搜索酒店接口
* @Author: XiaoKun
* @Date: 2019-01-26 
*/ 
public interface SearchHotelService {
    /**
     * 搜索旅馆
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     * @throws Exception
     */
    public Page<ItripHotelDTO> searchItripHotelPage(SearchHotelVO vo, Integer pageNo, Integer pageSize) throws Exception;

    /**
     * 根据热门城市查询酒店
     * @param cityId
     * @param pageSize
     * @return
     * @throws Exception
     */
    public List<ItripHotelDTO> searchItripHotelListByHotCity(Integer cityId, Integer pageSize) throws Exception;

}
